package model.request

import com.thoughtworks.xstream.annotations.XStreamAlias

import scala.beans.BeanProperty

@XStreamAlias("xml")
class WXPayRequest{

  @BeanProperty var appid:String = _

  @BeanProperty var attach:String = _

  @BeanProperty var body:String = _

  @XStreamAlias("mch_id")
  @BeanProperty var mchId:String = _

  @XStreamAlias("nonce_str")
  @BeanProperty var nonceStr:String = _

  @XStreamAlias("notify_url")
  @BeanProperty var notifyUrl:String = _

  @XStreamAlias("out_trade_no")
  @BeanProperty var outTradeNo:String = _

  @XStreamAlias("spbill_create_ip")
  @BeanProperty var spbillCreateIp:String = _

  @XStreamAlias("total_fee")
  @BeanProperty var totalFee = 0L

  @XStreamAlias("trade_type")
  @BeanProperty var tradeType:String = _

  @XStreamAlias("time_expire")
  @BeanProperty var timeExpire:String = _

  @BeanProperty var sign:String = _
  
}
